package com.svms.save.vo;

import org.apache.commons.lang3.StringUtils;

import com.svms.save.cache.PublicCache;

public class GroupByVo {
	private String code;
	private String title;
	private String type;
	private Long num;
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getTitle() {
		if(StringUtils.isBlank(this.title)) {
			this.title = PublicCache.getZdmcByLxjpZddm(this.type, this.code, false);
		}
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public Long getNum() {
		return num;
	}
	public void setNum(Long num) {
		this.num = num;
	}
}
